<html>
  <head>
   <title>Decide For Me</title>
   <%= stylesheet_link_tag "decide", :media => "all" %> 
   <%= stylesheet_link_tag "corners", :media => "all" %> 
   <%= javascript_include_tag :defaults %>
  </head>

<body onload="Element.hide('uanswer')">

  <div class="corner">
    <img src="/images/corner.png">
  </div>

  <div class="centered">

   <div class="banner">
    <div class="logo">
     <a href="/decide"><img src="/images/dfm.png" border="0"></a>
    </div> <!-- logo -->


<div class="headline">
  <b class="yellow_box">
  <b class="yellow_box1"><b></b></b>
  <b class="yellow_box2"><b></b></b>
  <b class="yellow_box3"></b>
  <b class="yellow_box4"></b>
  <b class="yellow_box5"></b></b>

  <div class="yellow_boxfg">
    <div class="headline_content">
      Tired of deciding all of life's difficult choices?
      Now thanks to the magic of web 2.0, you no longer need to.
    </div>
  </div>

  <b class="yellow_box">
  <b class="yellow_box5"></b>
  <b class="yellow_box4"></b>
  <b class="yellow_box3"></b>
  <b class="yellow_box2"><b></b></b>
  <b class="yellow_box1"><b></b></b></b>
</div>



   </div> <!-- banner -->

<div>
  <b class="blue_box">
  <b class="blue_box1"><b></b></b>
  <b class="blue_box2"><b></b></b>
  <b class="blue_box3"></b>
  <b class="blue_box4"></b>
  <b class="blue_box5"></b></b>

  <div class="blue_boxfg">

  <div class="content">

  <span class="question"><%= @question.desc %></span>


<div class="tags_box">
  <b class="greener_box">
  <b class="greener_box1"><b></b></b>
  <b class="greener_box2"><b></b></b>
  <b class="greener_box3"></b>
  <b class="greener_box4"></b>
  <b class="greener_box5"></b></b>

  <div class="greener_boxfg">
   <div class="tags">
       <span><img src="/images/let_us_decide.png"></span>
        <ul>
     <% @questions.each do | q | -%>
        <li><%= link_to q.tag, { :action => 'index', :id => q.id } %></li>
     <% end -%>
        </ul>
	<span>&nbsp;</span>
    </div>
  </div>

  <b class="greener_box">
  <b class="greener_box5"></b>
  <b class="greener_box4"></b>
  <b class="greener_box3"></b>
  <b class="greener_box2"><b></b></b>
  <b class="greener_box1"><b></b></b></b>
</div>


  <div class="answer_box">
  
<div class="votes" id="votes">
  <%= render(:partial => "votes", :object => @answer ) %>
</div> <!-- votes -->

  <span class="answer">
    <% if @answer.author -%>
     <em><%= @answer.author %> suggests:<br/><br/></em>
    <% end -%> 
    <%= @answer.desc %>
  </span>

  </div> <!-- answer_box -->


  <div class="decide_again"><%= link_to image_tag("decide_again_trans.png", :border=>0), :action => 'index', :id => @question %></div>

<div class="idea" onclick="new Effect.SlideDown(uanswer)">
  <div class="half_blue_boxfg">
    <span style="color:white">Got A Better Idea?</span>
  </div>

  <b class="half_blue_box">
  <b class="half_blue_box5"></b>
  <b class="half_blue_box4"></b>
  <b class="half_blue_box3"></b>
  <b class="half_blue_box2"><b></b></b>
  <b class="half_blue_box1"><b></b></b></b>
</div>



<div id="uanswer" class="uanswer">
<% form_for  :uanswer,
 	     :url => { :action => :answer },
	     :html => { :method => :post } do |form| %>

  <p><%= form.text_area :desc, :rows => 5 %></p>
  <p>Who Are You? <em>(optional)</em>: <br/><%= form.text_field :author, :value => "Anonymous" %></p>
  <p>
    <%= form.hidden_field :question_id, :value => @question.id  %>
    <%= submit_tag "Add Your Answer" %>
  </p>
<% end %>
</div>


</div> <!-- content -->



  <span><b>&nbsp;</b></span>
  </div>

  <b class="blue_box">
  <b class="blue_box5"></b>
  <b class="blue_box4"></b>
  <b class="blue_box3"></b>
  <b class="blue_box2"><b></b></b>
  <b class="blue_box1"><b></b></b></b>
</div>

<div class="adsense">
<script type="text/javascript"><!--
google_ad_client = "pub-2091783631320407";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
//2007-03-11: decide-for-me.com
google_ad_channel = "8480974587";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>

<div class="footer">

	<span>&#169; 2007 <a href="http://www.jadetower.com">The JadeTower Corporation</a></span> | 
  <span style="text-align:right;">
	  <a href="/about.html">About</a> | 
	  <a href="/terms.html">Terms of Use</a>  |
  <span>

</div>

</div>
  </body>
</html>
